package models

type User struct {
	UserID   int64  `gorm:"column:user_id"`
	Username string `gorm:"column:username"`
	Password string `gorm:"column:password"`
	Email    string `gorm:"column:email"`
	Gender   byte   `gorm:"column:gender"`

	Blacktime  int    `gorm:"not null; default:0; comment:黑名单限制到期时间; type:INT(10)"`
	Realname   string `gorm:"not null; default:''; comment:联系人; type:VARCHAR(50)"`
	Mobile     string `gorm:"not null; default:''; comment:手机号; type:VARCHAR(50)"`
	Address    string `gorm:"not null; default:''; comment:联系地址'; type:VARCHAR(255)"`
	SysCreated int    `gorm:"not null; default:0; comment:创建时间; type:int(10)"`
	SysUpdated int    `gorm:"not null; default:0; comment:修改时间; type:int(10)"`
	SysIp      string `gorm:"not null; default:''; comment:IP地址; type:VARCHAR(50)"`
}
